package com.coding365.service.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.coding365.service.user.dao")
@EnableAuthorizationServer
@EnableFeignClients // 开启Feign
public class LagouServiceUserApp {

    public static void main(String[] args) {
        SpringApplication.run(LagouServiceUserApp.class,args);
    }
}
